<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title></title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet"/>
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet"/>
</head>
<body>
<div class="txtcenter" style="margin:0 auto;padding-top:10px;">
    <form class="layui-form layui-form-pane" action="" autocomplete="off">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">学校</label>
                <div class="layui-input-inline">
                    <select id="schoolId" lay-filter="schoolId" lay-search="">

                    </select>
                </div>
                <label class="layui-form-label">院系</label>
                <div class="layui-input-inline">
                    <select id="facultyId" lay-filter="facultyId" lay-search="">
                        <option value="">请选择</option>
                    </select>
                </div>
                <label class="layui-form-label">专业</label>
                <div class="layui-input-inline">
                    <select id="majorId" lay-filter="majorId" lay-search="">
                        <option value="">请选择</option>
                    </select>
                </div>
                <label class="layui-form-label">科目</label>
                <div class="layui-input-inline">
                    <select id="subjectId" lay-filter="subjectId" lay-search="">
                        <option value="">请选择</option>
                    </select>
                </div>
                <label class="layui-form-label">试卷名称</label>
                <div class="layui-input-inline">
                    <input id="surveyName" name="surveyName" class="layui-input" placeholder="请输入试卷名称"/>
                </div>
                <label class="layui-form-label">试卷状态</label>
                <div class="layui-input-inline">
                    <select id="surveyState" name="surveyState">
                        <option value="">全部</option>
                        <option value="0">设计</option>
                        <option value="1">执行中</option>
                        <option value="2">结束</option>
                    </select>
                </div>
                <button type="reset" class="layui-btn layui-btn-primary list-form-search">
                    <language showName="com.skyeye.reset"></language>
                </button>
                <button class="layui-btn list-form-search" lay-submit lay-filter="formSearch">
                    <language showName="com.skyeye.search2"></language>
                </button>
            </div>
        </div>
    </form>
</div>
<div class="winui-toolbar">
    <div class="winui-tool">
        <button id="reloadTable" class="winui-toolbtn"><i class="fa fa-refresh" aria-hidden="true"></i>
            <language showName="com.skyeye.refreshDataBtn"></language>
        </button>
        <button id="addBean" class="winui-toolbtn" auth="1586066201570"><i class="fa fa-plus" aria-hidden="true"></i>新增试卷
        </button>
    </div>
</div>
<div style="margin:auto 10px;">
    <table id="messageTable" lay-filter="messageTable"></table>
    <script type="text/html" id="tableBar">
        {{# if(auth('1586066285170')){ }}
        <a class="layui-btn layui-btn-xs" lay-event="fzWj">复制</a>
        {{# } }}
        <!--设计-->
        {{# if(d.surveyState == 0){ }}
        {{# if(auth('1586066414883')){ }}
        <a class="layui-btn layui-btn-xs" lay-event="edit">设计</a>
        {{# } }}
        {{# if(auth('1586066253200')){ }}
        <a class="layui-btn layui-btn-xs" lay-event="showFb">发布</a>
        {{# } }}
        {{# if(auth('1586066262581')){ }}
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">
            <language showName="com.skyeye.deleteBtn"></language>
        </a>
        {{# } }}
        <!--执行中-->
        {{# } else if(d.surveyState == 1){ }}
        {{# if(auth('1586066307061')){ }}
        <a class="layui-btn layui-btn-xs" lay-event="endSurvey">结束考试</a>
        {{# } }}
        <!--				{{# if(auth('1586066273120')){ }}-->
        <!--					<a class="layui-btn layui-btn-xs" lay-event="fxWj">试题分析</a>-->
        <!--				{{# } }}-->
        <!--结束-->
        {{# } else if(d.surveyState == 2){ }}
        <!--				{{# if(auth('1586066273120')){ }}-->
        <!--					<a class="layui-btn layui-btn-xs" lay-event="fxWj">试题分析</a>-->
        <!--				{{# } }}-->
        {{# } }}
        {{# if(auth('1588645479233')){ }}
        <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="markExam">编辑</a>
        {{# } }}
    </script>
</div>
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
    layui.config({base: '../../js/examdesign/'}).use('examDesignList');
</script>
</body>
</html>